// gamemain.cpp ???????

#ifndef _GAMEMAIN_H_
#define _GAMEMAIN_H_

// ????�֢t
enum{
	GAME_LOGIN,					// ????
	GAME_FIELD,					// ????????
	GAME_FIELD_TO_ENCOUNT,		// ?????????????????��?
	GAME_ENCOUNT_TO_BATTLE,		// ???????��??�P�f
	GAME_BATTLE				// ???????��??�P�f
};

#include <SDL.h>
extern int	GameState;	// ????�֢t
extern	unsigned long NowTime;
extern SDL_Texture* screenTexture;
//extern double NowTime;	// ???????

//---------------------------------------------------------------------------//
// ????????�L?                                                      //
//---------------------------------------------------------------------------//
bool GameMain( void );				// ??????????

// ????��??
bool InitGame( void );

// ???��???
void EndGame( void );


#ifdef _DEBUG		
// �ѩ�����
void InfoDisp( void );
#endif

// ?????????��??��??��?
void DisplayFrameRate( void );

#endif
